home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Dev / powerd / modules.lha / modules / graphics / copper.m < prev    next >
Encoding:
Text File  |  2000-04-02  |  1.1 KB  |  61 lines

  1. CONST    COPPER_MOVE=0,
  2.         COPPER_WAIT=1,
  3.         CPRNXTBUF=2,
  4.         CPR_NT_LOF=$8000,
  5.         CPR_NT_SHT=$4000,
  6.         CPR_NT_SYS=$2000
  7.  
  8. OBJECT CopIns
  9.     OpCode:INT,
  10. // a) next two INTs are unioned with "nxtlist:PTR TO coplist"
  11.     VWaitPos|DestAddr:INT,
  12.     HWaitPos|DestData:INT
  13.  
  14. /*
  15. #define VWAITPOS vwaitpos
  16. #define DESTADDR vwaitpos
  17. #define HWAITPOS hwaitpos
  18. #define DESTDATA hwaitpos
  19. */
  20.  
  21. OBJECT CprList
  22.     Next:PTR TO CprList,
  23.     Start:PTR TO UWORD,
  24.     MaxCount:INT
  25.  
  26. OBJECT CopList
  27.     Next:PTR TO CopList,
  28.     _coplist_:PTR TO CopList,
  29.     _viewport:PTR TO ViewPort,
  30.     CopIns:PTR TO CopIns,
  31.     CopPtr:PTR TO CopIns,
  32.     CopLStart:PTR TO UWORD,
  33.     CopSStart:PTR TO UWORD,
  34.     Count:INT,
  35.     MaxCount:INT,
  36.     DYOffset:INT,
  37.     SLRepeat:UWORD,
  38.     Flags:UWORD
  39.  
  40. CONST    EXACT_LINE=1,
  41.         HALF_LINE=2
  42.  
  43. OBJECT UCopList
  44.     Next:PTR TO UCopList,
  45.     FirstCopList:PTR TO CopList,
  46.     CopList:PTR TO CopList
  47.  
  48. OBJECT CopInit
  49.     VSync_HBlank[2]:UWORD,
  50.     DiagStrt[12]:UWORD,
  51.     Fm0[2]:UWORD,
  52.     DiwStart[10]:UWORD,
  53.     BplCon2[2]:UWORD,
  54.     SprFix[16]:UWORD,
  55.     SprStrtUp[32]:UWORD,
  56.     Wait14[2]:UWORD,
  57.     Norm_HBlank[2]:UWORD,
  58.     Jump[2]:UWORD,
  59.     Wait_Forever[6]:UWORD,
  60.     SprStop[8]:UWORD
  61.